package DFA;

public class showState {
    //展示集合
    private xBuf start;
    private int way;
    private xBuf end;
    private String startString;
    private String endString;
    private String s ="";
    public String getStartString() {
        return startString;
    }

    public void setStartString() {
        s = s + start.getX1();
        s = s+ start.getX2();
        this.startString = s;
        s = "";
    }

    public String getEndString() {
        return endString;

    }

    public void setEndString() {
        s = s + end.getX1();
        s = s+ end.getX2();
        this.endString = s;
        s = "";
    }

    @Override
    public String toString() {
        return "showState{" +
                "start=" + start +
                ", way='" + way + '\'' +
                ", end=" + end +
                '}';
    }

     showState() {

    }

    public showState(xBuf start, int  way, xBuf end) {
        this.start = start;
        this.way = way;
        this.end = end;
    }

    public xBuf getStart() {
        return start;
    }

    public void setStart(xBuf start) {
        this.start = start;
    }

    public int  getWay() {
        return way;
    }

    public void setWay(int  way) {
        this.way = way;
    }

    public xBuf getEnd() {
        return end;
    }

    public void setEnd(xBuf end) {
        this.end = end;
    }
}
